package com.gxa.modules.mapper.zls;

import com.gxa.modules.pojo.SysLog;
import com.gxa.modules.pojo.User;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: zls
 * Date: 2021/12/28 12:01:54
 * Description:
 * Version: V1.0
 */
public interface LoginMapper {
    int addUser2(String user_account, String newPwd, String user_salt, String user_phone,String user_date);

    User querySysUserByUserName(String user_phone);

    List<Map> findUser2(String user_phone, String newPwd);

    int updatePwd2(String newPwd1, String user_phone);

    void saveSysLog(SysLog sysLog);


    Map customerLogin(Object user_phone, String newPwd);

    int addCustomer2(String user_account, String newPwd, String user_phone);

    Map queryCustomer(String user_phone);

    Map queryUser(String user_phone);

    List<Map> queryShopInfo(String user_phone);

    List<Map> queryMenu();

    Map queryRole1(String user_phone);
}
